package com.gyj.user.service;

import com.gyj.common.CommonResult;
import com.gyj.user.model.User;

import java.util.List;

/**
 * Created by Gao on 2018/9/30.
 */
public interface HashRedisService {

    /**
     * 根据Id获取user对象
     */
    public User getUserByIdHash(String id);

    /**
     * 根据ids获取多个User对象
     */
    public CommonResult<List<User>> getUserListByIdsHash(List<Integer> ids);

}
